﻿<template>

	<!--<input type='hidden' name='_DONOTUSE_{{d.fieldName}}' value='1' />
	<hidden id='{{d.id}}' name='{{d.fieldName}}' />
	<div style="display:flex;">
		<div id='{{d.id}}_Container' style="flex-grow:1;">

			{{# for(var i=0;i<d.list.length;i++){ }}
			<input type='hidden' name='{{d.fieldName}}' value='{{d.list[i]}}' />
			{{ } }}
		</div>
	</div>

	<input type='hidden' name='_DONOTUSE_Entity.BlogId' value='1' />
	<div id='PostVM_Entity_BlogId_Container'>
		<input type="text" id="PostVM_Entity_BlogId_Display"
			   name="Entity.BlogId_Display" readonly="" value="" placeholder="&#x8BF7;&#x9009;&#x62E9;"
			   class="layui-input" lay-filter="PostVM_Entity_BlogId_Displayfilter" lay-verify="required"
			   lay-reqText="BlogId&#x662F;&#x5FC5;&#x586B;&#x9879;">
		<input type='hidden' name='Entity.BlogId' value='00000000-0000-0000-0000-000000000000' />
	</div>
	<hidden id='PostVM_Entity_BlogId' name='Entity.BlogId' />

	<button class='layui-btn layui-btn-normal wtm-selector-btn' type='button'
			id='PostVM_Entity_BlogId_Select'>
		选择
	</button>
	<script>
		var PostVM_Entity_BlogIdfilter = {};
		$('#PostVM_Entity_BlogId_Select').on('click', function () {

			var filter = { "_DONOT_USE_VMNAME": "LayuiDemo.ViewModels.BlogVMs.BlogListVM, LayuiDemo", "_DONOT_USE_KFIELD": "Name", "_DONOT_USE_VFIELD": "ID", "_DONOT_USE_FIELD": "Entity.BlogId", "_DONOT_USE_MULTI_SEL": false, "_DONOT_USE_SEL_ID": "PostVM_Entity_BlogId", "_DONOT_USE_CURRENTCS": "default", "Ids": ["00000000-0000-0000-0000-000000000000"], "SelectorValueField": "ID", "Searcher.Url": null, "Searcher.Name": null, "Searcher.CreateTime": null, "Searcher.RadioTest": false, "Searcher.SwitchTest": false, "Searcher.CheckTest": false, "Searcher.VMFullName": "LayuiDemo.ViewModels.BlogVMs.BlogSearcher, LayuiDemo", "Searcher.IsExpanded": null, "Searcher.UniqueId": "cdfca5a240564b3095c2c919ad308f2c" };
			var vals = $('#PostVM_Entity_BlogId_Container input[type=hidden]');
			filter.Ids = [];
			for (var i = 0; i < vals.length; i++) {
				filter.Ids.push(vals[i].value);
			};
			var ffilter = $.extend(filter, PostVM_Entity_BlogIdfilter)
			ff.OpenDialog2('/_Framework/Selector', 'dca60abc-97d3-4119-8c4c-e6114f5a7234', '请选择', 800, 600, '#TempPostVM_Entity_BlogId', ffilter);
		});
	</script>-->
</template>